package Encheres.Service;

import javax.jws.WebService;

import DAO.UtilisateurDAO;
import Encheres.Interface.IUserServices;
import Encheres.Model.User;

@WebService(endpointInterface = "Encheres.Interface.IUserServices")
public class UserServices implements IUserServices {
	
	@Override
	public User createUser(User user) {
		UtilisateurDAO usrDao = new UtilisateurDAO();
		return usrDao.create(user);
	}
}
